<?php
/**
 */
class TriggerAttachementsTable extends Doctrine_Table
{
	public function addTriggerAttachment($trigger_id,$attachment)
	{
		$TriggerAttachements = new TriggerAttachements();
		$TriggerAttachements ->trigger_id = $trigger_id;
		$TriggerAttachements ->attachments = $attachment;
		//echo '<pre>';print_r($Expressions);exit;
		$TriggerAttachements ->save();
		return $TriggerAttachements->id;
	}
}